Edit Task: SetPossibility ResourceRateType
Description
The SetPossiblity ResourceRateType attribute under EditTask defines the resource usage's rate type for a single task possibility.
Parameters
Parameter | Description |
---|---|
PossibilityName | A string of text with a comma delimited list of resources in the possibility. Order is not required and the resource names should not be in quotes. |
ResourceName | A string of text of the resource that is being defined within the command. |
RateType | Options are "Fixed", "Rate", or "FixedPlusRate". This value must be compatible with the corresponding resource capacity attributes. |
Examples
Change the resource usage rate type to Fixed for ResB in the possibility that uses ResA, ResB and ResC
PATCH api/task/FUSEscience
Body:
{
"SetResourceDetails" : {
"PossibilityName" : "ResA,ResB,ResC",
"ResourceName" : "ResB",
"RateType" : "Fixed" }
}